package domainObjects;

import java.io.Serializable;

//create by martin souliere
@SuppressWarnings("serial")
public class Infraction{ 

	protected int _id;
	protected String _description;
	protected int _niveau;
	
	public Infraction(int id,String desc, int niveau) {
		_description = desc;
		_niveau = niveau;
		_id = id;
	}
	public int id() {
		return _id;
	}

	public String description() {
		return _description;
	}

	public int niveau() {
		return _niveau;
	}

	public String _toString() {
		return _description + " " + _niveau;
	}
}
